package com.fenxiangle.yueding.feature.mine.view.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.fenxiangle.yueding.R;
import com.fenxiangle.yueding.entity.bo.GenreClassBo;
import com.fenxiangle.yueding.entity.bo.OccupationBo;

import java.util.List;

/**
 * Created by Home on 2018/9/2.
 */

public class PublishTypeAdapter extends BaseQuickAdapter<OccupationBo,BaseViewHolder> {

    public PublishTypeAdapter( @Nullable List<OccupationBo> data) {
        super(R.layout.item_publish_type, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, OccupationBo item) {
        helper.setText(R.id.item_publish_name,item.getOccupation());
    }
}
